const express = require('express')
const app = express()

const rootRouter = require('./router')
app.use('/api',rootRouter)

app.listen(2022,()=>{
    console.log('server is running at port 2022')
})